  <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="myModalLabel">Tambah Komponen</h4>
      </div>
<div class="modal-body">
					<table class="table table-striped table-bordered table-hover table-condensed">
						<thead>
						<tr>
							<th>No</th>
							<th>Nama Komponen</th>
							<th>Aksi</th>
						</tr>
						</thead>
						<?php
						if(isset($hasil)){
							$no=1;
							foreach($hasil as $val){
						
						?>
						<tr>
							<td><?php echo $no;?></td>
							<td><?php echo $val['nama_komp'];?></td>
							<td><a href="javascript:void(null)" title="Tambah" onclick="add_row_komp('<?php echo $val['id_komp']?>','<?php echo $val['nama_komp']?>')"><span class="glyphicon glyphicon-check"></span></a></td>
						</tr>
						<?php
						$no++;
						}
						}
						?>
					</table>
				</div>